<?php if (!defined('THINK_PATH')) exit();?><link rel="stylesheet" href="__ROOT__/apps/weiba/_static/weiba.css" type="text/css" media="screen" charset="utf-8" />
<div class="weiba_postlist">
	<ul>
		<?php if(is_array($data)): ?><?php $i = 0;?><?php $__LIST__ = $data?><?php if( count($__LIST__)==0 ) : echo "" ; ?><?php else: ?><?php foreach($__LIST__ as $key=>$vo): ?><?php ++$i;?><?php $mod = ($i % 2 )?><li>
			<div class="name">
				<span class="right num"><i class="arrow-weiba"></i><?php echo (($vo["reply_count"])?($vo["reply_count"]):0); ?></span>
				<a href="<?php echo U('weiba/Index/postDetail', array('post_id'=>$vo['post_id']));?>"><span><?php echo ($vo["title"]); ?></span></a>
			</div>
			<div class="f9">
				<?php if ($vo['last_reply_uid'] != 0): ?>
				<span class="right"><a href="<?php echo U('public/Profile/index', array('uid'=>$vo['last_reply_uid']));?>"><?php echo (getusername($vo["last_reply_uid"])); ?></a><span class="pl5 pr5">/</span><?php echo (friendlydate($vo["last_reply_time"])); ?></span>
				<?php endif; ?>
				<span>【<?php echo ($vo["weiba"]); ?>】<a href="<?php echo U('public/Profile/index', array('uid'=>$vo['post_uid']));?>"><?php echo (getusername($vo["post_uid"])); ?></a><span class="pl5 pr5">/</span><?php echo (friendlydate($vo["post_time"])); ?>发布</span>
			</div>
		</li><?php endforeach; ?><?php endif; ?><?php else: echo "" ;?><?php endif; ?>
		<div class="page"><?php echo ($html); ?></div>
	</ul>
</div>